<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>

<script type="text/javascript" src="../3thjs/axios.min.js"></script>
<script type="text/javascript" src="../3thjs/vue.js"></script>
<link rel="stylesheet" href="../3thjs/bootstrap3.3.7.min.css">
<script src="../3thjs/jquery.min.js"></script>
<script src="../3thjs/popper.min.js"></script>
<script src="../3thjs/bootstrap.min.js"></script>
<script src="../3thjs/md5.js"></script>

<script type="text/javascript" src="../3thjs/jsencrypt.js"></script>
<script type="text/javascript" src="../3thjs/crypto-js.js"></script>

<script type="text/javascript" src="../js/global.js"></script>
<script type="text/javascript" src="../js/login.js"></script>

<body>

<div id="my-div" style="margin-top: 20pt;">

    <div class="panel panel-primary"
         style="width: 40vw; margin: 70pt auto auto;">
        <div class="panel-heading">
            <h3 class="panel-title">用户登录</h3>
        </div>
        <div class="panel-body">
            <form class="form-horizontal" role="form" method="post">

                <div class="form-group">
                    <label class="col-sm-2 control-label">手机号</label>
                    <div class="col-sm-10">
                        <input id="id" v-model="phone"  type="text" class="form-control" name="id"
                               autocomplete placeholder="请输入手机号">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">密码</label>
                    <div class="col-sm-10">
                        <input v-model="password"  type="password" class="form-control"
                               name="password" autocomplete
                               placeholder="请输入密码">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label"></label>
                    <div class="col-sm-10">
                        <input type="button" @click="submit()" style="width: 100pt; float: left; height: 30pt;"
                               class="btn btn-primary" value="登录">
                        <div style="color: red; float: left; margin-left: 20pt; width: 200px; height: 20pt;">
                            <p v-html="error"></p>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>

</div>
</body>
</html>